package com.woyou.bean;

import java.util.List;

/**
 * 用户信息模型
 * 
 * @author tanglc
 * 
 */
@SuppressWarnings("serial")
public class UserInfo extends SuperBean {
	/**
	 * 手机号码
	 */
	private String phone;
	/**
	 * 密码（随机数生成）
	 */
	private String pwd;
	/**
	 * 验证码（短信接收）
	 */
	private String vCode;
	/**
	 * Token标志位
	 */
	private String token;
	/**
	 * 用户ID
	 */
	private String uId;
	/**
	 * 用户姓名
	 */
	private String name;
	/**
	 * 用户昵称
	 */
	private String nick;
	/**
	 * 生日
	 */
	private String birth;
	/**
	 * 头像地址（小图）
	 */
	private String picUrl;
	/**
	 * 头像地址（大图）
	 */
	private String bigPicUrl;
	/**
	 * 性别（0:男 1:女）
	 */
	private int sex;
	/**
	 * 优惠券数量
	 */
	private int coupon;
	/**
	 * 钱包余额
	 */
	private float wallet;
	/**
	 * 积分
	 */
	private int integral;
	/**
	 * 地址模型
	 */
	private List<MyAddress> addrList;
	/**
	 * 当前选择城市
	 */
	private City city = new City();

	public City getCity() {
		return city;
	}

	public void setCity(City city) {
		this.city = city;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getvCode() {
		return vCode;
	}

	public void setvCode(String vCode) {
		this.vCode = vCode;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getuId() {
		return uId;
	}

	public void setuId(String uId) {
		this.uId = uId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNick() {
		return nick;
	}

	public void setNick(String nick) {
		this.nick = nick;
	}

	public String getBirth() {
		return birth;
	}

	public void setBirth(String birth) {
		this.birth = birth;
	}

	public String getPicUrl() {
		return picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	public String getBigPicUrl() {
		return bigPicUrl;
	}

	public void setBigPicUrl(String bigPicUrl) {
		this.bigPicUrl = bigPicUrl;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public int getCoupon() {
		return coupon;
	}

	public void setCoupon(int coupon) {
		this.coupon = coupon;
	}

	public float getWallet() {
		return wallet;
	}

	public void setWallet(float wallet) {
		this.wallet = wallet;
	}

	public int getIntegral() {
		return integral;
	}

	public void setIntegral(int integral) {
		this.integral = integral;
	}

	public List<MyAddress> getAddrList() {
		return addrList;
	}

	public void setAddrList(List<MyAddress> addrList) {
		this.addrList = addrList;
	}

	@Override
	public String toString() {
		return "UserInfo [phone=" + phone + ", pwd=" + pwd + ", vCode=" + vCode + ", token=" + token + ", uId=" + uId
				+ ", name=" + name + ", nick=" + nick + ", birth=" + birth + ", picUrl=" + picUrl + ", bigPicUrl="
				+ bigPicUrl + ", sex=" + sex + ", coupon=" + coupon + ", wallet=" + wallet + ", integral=" + integral
				+ ", addrList=" + addrList + ", city=" + city + "]";
	}

}
